Optimal. Leaf size=162 \[ -\frac {2 \left (c d^2-b d e+a e^2\right )^2}{3 e^5 (d+e x)^{3/2}}+\frac {4 (2 c d-b e) \left (c d^2-b d e+a e^2\right )}{e^5 \sqrt {d+e x}}+\frac {2 \left (6 c^2 d^2+b^2 e^2-2 c e (3 b d-a e)\right ) \sqrt {d+e x}}{e^5}-\frac {4 c (2 c d-b e) (d+e x)^{3/2}}{3 e^5}+\frac {2 c^2 (d+e x)^{5/2}}{5 e^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 162, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {712}
\begin {gather*} \frac {2 \sqrt {d+e x} \left (-2 c e (3 b d-a e)+b^2 e^2+6 c^2 d^2\right )}{e^5}+\frac {4 (2 c d-b e) \left (a e^2-b d e+c d^2\right )}{e^5 \sqrt {d+e x}}-\frac {2 \left (a e^2-b d e+c d^2\right )^2}{3 e^5 (d+e x)^{3/2}}-\frac {4 c (d+e x)^{3/2} (2 c d-b e)}{3 e^5}+\frac {2 c^2 (d+e x)^{5/2}}{5 e^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 712
Rubi steps
\begin {align*} \int \frac {\left (a+b x+c x^2\right )^2}{(d+e x)^{5/2}} \, dx &=\int \left (\frac {\left (c d^2-b d e+a e^2\right )^2}{e^4 (d+e x)^{5/2}}+\frac {2 (-2 c d+b e) \left (c d^2-b d e+a e^2\right )}{e^4 (d+e x)^{3/2}}+\frac {6 c^2 d^2+b^2 e^2-2 c e (3 b d-a e)}{e^4 \sqrt {d+e x}}-\frac {2 c (2 c d-b e) \sqrt {d+e x}}{e^4}+\frac {c^2 (d+e x)^{3/2}}{e^4}\right ) \, dx\\ &=-\frac {2 \left (c d^2-b d e+a e^2\right )^2}{3 e^5 (d+e x)^{3/2}}+\frac {4 (2 c d-b e) \left (c d^2-b d e+a e^2\right )}{e^5 \sqrt {d+e x}}+\frac {2 \left (6 c^2 d^2+b^2 e^2-2 c e (3 b d-a e)\right ) \sqrt {d+e x}}{e^5}-\frac {4 c (2 c d-b e) (d+e x)^{3/2}}{3 e^5}+\frac {2 c^2 (d+e x)^{5/2}}{5 e^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 170, normalized size = 1.05 \begin {gather*} \frac {2 \left (c^2 \left (128 d^4+192 d^3 e x+48 d^2 e^2 x^2-8 d e^3 x^3+3 e^4 x^4\right )-5 e^2 \left (a^2 e^2+2 a b e (2 d+3 e x)-b^2 \left (8 d^2+12 d e x+3 e^2 x^2\right )\right )+10 c e \left (a e \left (8 d^2+12 d e x+3 e^2 x^2\right )+b \left (-16 d^3-24 d^2 e x-6 d e^2 x^2+e^3 x^3\right )\right )\right )}{15 e^5 (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.75, size = 210, normalized size = 1.30
method | result | size |
risch | \(\frac {2 \left (3 c^{2} e^{2} x^{2}+10 b c \,e^{2} x -14 c^{2} d e x +30 a c \,e^{2}+15 b^{2} e^{2}-80 b c d e +73 c^{2} d^{2}\right ) \sqrt {e x +d}}{15 e^{5}}-\frac {2 \left (6 b \,e^{2} x -12 c d e x +e^{2} a +5 b d e -11 c \,d^{2}\right ) \left (e^{2} a -b d e +c \,d^{2}\right )}{3 e^{5} \left (e x +d \right )^{\frac {3}{2}}}\) | \(129\) |
gosper | \(-\frac {2 \left (-3 c^{2} x^{4} e^{4}-10 b c \,e^{4} x^{3}+8 c^{2} d \,e^{3} x^{3}-30 a c \,e^{4} x^{2}-15 b^{2} e^{4} x^{2}+60 b c d \,e^{3} x^{2}-48 c^{2} d^{2} e^{2} x^{2}+30 a b \,e^{4} x -120 a c d \,e^{3} x -60 b^{2} d \,e^{3} x +240 b c \,d^{2} e^{2} x -192 c^{2} d^{3} e x +5 a^{2} e^{4}+20 d \,e^{3} a b -80 a c \,d^{2} e^{2}-40 b^{2} d^{2} e^{2}+160 d^{3} e b c -128 c^{2} d^{4}\right )}{15 \left (e x +d \right )^{\frac {3}{2}} e^{5}}\) | \(194\) |
trager | \(-\frac {2 \left (-3 c^{2} x^{4} e^{4}-10 b c \,e^{4} x^{3}+8 c^{2} d \,e^{3} x^{3}-30 a c \,e^{4} x^{2}-15 b^{2} e^{4} x^{2}+60 b c d \,e^{3} x^{2}-48 c^{2} d^{2} e^{2} x^{2}+30 a b \,e^{4} x -120 a c d \,e^{3} x -60 b^{2} d \,e^{3} x +240 b c \,d^{2} e^{2} x -192 c^{2} d^{3} e x +5 a^{2} e^{4}+20 d \,e^{3} a b -80 a c \,d^{2} e^{2}-40 b^{2} d^{2} e^{2}+160 d^{3} e b c -128 c^{2} d^{4}\right )}{15 \left (e x +d \right )^{\frac {3}{2}} e^{5}}\) | \(194\) |
derivativedivides | \(\frac {\frac {2 c^{2} \left (e x +d \right )^{\frac {5}{2}}}{5}+\frac {4 b c e \left (e x +d \right )^{\frac {3}{2}}}{3}-\frac {8 c^{2} d \left (e x +d \right )^{\frac {3}{2}}}{3}+4 a c \,e^{2} \sqrt {e x +d}+2 b^{2} e^{2} \sqrt {e x +d}-12 b c d e \sqrt {e x +d}+12 c^{2} d^{2} \sqrt {e x +d}-\frac {2 \left (a^{2} e^{4}-2 d \,e^{3} a b +2 a c \,d^{2} e^{2}+b^{2} d^{2} e^{2}-2 d^{3} e b c +c^{2} d^{4}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}-\frac {2 \left (2 a b \,e^{3}-4 a d \,e^{2} c -2 b^{2} d \,e^{2}+6 d^{2} e b c -4 c^{2} d^{3}\right )}{\sqrt {e x +d}}}{e^{5}}\) | \(210\) |
default | \(\frac {\frac {2 c^{2} \left (e x +d \right )^{\frac {5}{2}}}{5}+\frac {4 b c e \left (e x +d \right )^{\frac {3}{2}}}{3}-\frac {8 c^{2} d \left (e x +d \right )^{\frac {3}{2}}}{3}+4 a c \,e^{2} \sqrt {e x +d}+2 b^{2} e^{2} \sqrt {e x +d}-12 b c d e \sqrt {e x +d}+12 c^{2} d^{2} \sqrt {e x +d}-\frac {2 \left (a^{2} e^{4}-2 d \,e^{3} a b +2 a c \,d^{2} e^{2}+b^{2} d^{2} e^{2}-2 d^{3} e b c +c^{2} d^{4}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}-\frac {2 \left (2 a b \,e^{3}-4 a d \,e^{2} c -2 b^{2} d \,e^{2}+6 d^{2} e b c -4 c^{2} d^{3}\right )}{\sqrt {e x +d}}}{e^{5}}\) | \(210\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.33, size = 189, normalized size = 1.17 \begin {gather*} \frac {2}{15} \, {\left ({\left (3 \, {\left (x e + d\right )}^{\frac {5}{2}} c^{2} - 10 \, {\left (2 \, c^{2} d - b c e\right )} {\left (x e + d\right )}^{\frac {3}{2}} + 15 \, {\left (6 \, c^{2} d^{2} - 6 \, b c d e + b^{2} e^{2} + 2 \, a c e^{2}\right )} \sqrt {x e + d}\right )} e^{\left (-4\right )} - \frac {5 \, {\left (c^{2} d^{4} - 2 \, b c d^{3} e - 2 \, a b d e^{3} + {\left (b^{2} e^{2} + 2 \, a c e^{2}\right )} d^{2} + a^{2} e^{4} - 6 \, {\left (2 \, c^{2} d^{3} - 3 \, b c d^{2} e - a b e^{3} + {\left (b^{2} e^{2} + 2 \, a c e^{2}\right )} d\right )} {\left (x e + d\right )}\right )} e^{\left (-4\right )}}{{\left (x e + d\right )}^{\frac {3}{2}}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.14, size = 179, normalized size = 1.10 \begin {gather*} \frac {2 \, {\left (128 \, c^{2} d^{4} + {\left (3 \, c^{2} x^{4} + 10 \, b c x^{3} - 30 \, a b x + 15 \, {\left (b^{2} + 2 \, a c\right )} x^{2} - 5 \, a^{2}\right )} e^{4} - 4 \, {\left (2 \, c^{2} d x^{3} + 15 \, b c d x^{2} + 5 \, a b d - 15 \, {\left (b^{2} + 2 \, a c\right )} d x\right )} e^{3} + 8 \, {\left (6 \, c^{2} d^{2} x^{2} - 30 \, b c d^{2} x + 5 \, {\left (b^{2} + 2 \, a c\right )} d^{2}\right )} e^{2} + 32 \, {\left (6 \, c^{2} d^{3} x - 5 \, b c d^{3}\right )} e\right )} \sqrt {x e + d}}{15 \, {\left (x^{2} e^{7} + 2 \, d x e^{6} + d^{2} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 27.42, size = 160, normalized size = 0.99 \begin {gather*} \frac {2 c^{2} \left (d + e x\right )^{\frac {5}{2}}}{5 e^{5}} + \frac {\left (d + e x\right )^{\frac {3}{2}} \cdot \left (4 b c e - 8 c^{2} d\right )}{3 e^{5}} + \frac {\sqrt {d + e x} \left (4 a c e^{2} + 2 b^{2} e^{2} - 12 b c d e + 12 c^{2} d^{2}\right )}{e^{5}} - \frac {4 \left (b e - 2 c d\right ) \left (a e^{2} - b d e + c d^{2}\right )}{e^{5} \sqrt {d + e x}} - \frac {2 \left (a e^{2} - b d e + c d^{2}\right )^{2}}{3 e^{5} \left (d + e x\right )^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.41, size = 244, normalized size = 1.51 \begin {gather*} \frac {2}{15} \, {\left (3 \, {\left (x e + d\right )}^{\frac {5}{2}} c^{2} e^{20} - 20 \, {\left (x e + d\right )}^{\frac {3}{2}} c^{2} d e^{20} + 90 \, \sqrt {x e + d} c^{2} d^{2} e^{20} + 10 \, {\left (x e + d\right )}^{\frac {3}{2}} b c e^{21} - 90 \, \sqrt {x e + d} b c d e^{21} + 15 \, \sqrt {x e + d} b^{2} e^{22} + 30 \, \sqrt {x e + d} a c e^{22}\right )} e^{\left (-25\right )} + \frac {2 \, {\left (12 \, {\left (x e + d\right )} c^{2} d^{3} - c^{2} d^{4} - 18 \, {\left (x e + d\right )} b c d^{2} e + 2 \, b c d^{3} e + 6 \, {\left (x e + d\right )} b^{2} d e^{2} + 12 \, {\left (x e + d\right )} a c d e^{2} - b^{2} d^{2} e^{2} - 2 \, a c d^{2} e^{2} - 6 \, {\left (x e + d\right )} a b e^{3} + 2 \, a b d e^{3} - a^{2} e^{4}\right )} e^{\left (-5\right )}}{3 \, {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.87, size = 195, normalized size = 1.20 \begin {gather*} \frac {2\,c^2\,{\left (d+e\,x\right )}^{5/2}}{5\,e^5}-\frac {\frac {2\,a^2\,e^4}{3}-\left (d+e\,x\right )\,\left (4\,b^2\,d\,e^2-12\,b\,c\,d^2\,e-4\,a\,b\,e^3+8\,c^2\,d^3+8\,a\,c\,d\,e^2\right )+\frac {2\,c^2\,d^4}{3}+\frac {2\,b^2\,d^2\,e^2}{3}-\frac {4\,a\,b\,d\,e^3}{3}-\frac {4\,b\,c\,d^3\,e}{3}+\frac {4\,a\,c\,d^2\,e^2}{3}}{e^5\,{\left (d+e\,x\right )}^{3/2}}+\frac {\sqrt {d+e\,x}\,\left (2\,b^2\,e^2-12\,b\,c\,d\,e+12\,c^2\,d^2+4\,a\,c\,e^2\right )}{e^5}-\frac {\left (8\,c^2\,d-4\,b\,c\,e\right )\,{\left (d+e\,x\right )}^{3/2}}{3\,e^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________